/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Background;

import Core.Vector2;
import Thing.Thing;
import java.io.IOException;
import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.game.Sprite;

/**
 *
 * @author THINH
 */
public class Ceiling extends Background{
    
    public Ceiling(){
        againstVec = Vector2.Zero();
        
    
    }
    //main func
    public void CollisionWith(Thing thing){
         thing.setPos(thing.getPos().x ,thing.getPos().y+1);
         super.CollisionWith(thing);
    }
    
}
